<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/pages/share/taglib.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>运城市安全生产隐患排查治理信息系统</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="<%=basePath%>/css/style.css" rel="stylesheet" type="text/css"/>
	<script type="text/javascript" src="<%=basePath%>/js/jquery-1.7.2.js"></script>
	<script type="text/javascript" src="<%=basePath%>/js/check_jquery.js"></script>
	<link rel="STYLESHEET" type="text/css" href="<%=basePath%>/dtree/dhtmlxtree.css">
	<script  src="<%=basePath%>/dtree/dhtmlxcommon.js"></script>
	<script  src="<%=basePath%>/dtree/dhtmlxtree.js"></script>
	<script type="text/javascript">
		function tonclick(id) {
			document.getElementById('cType').value=id;
			document.itemForm.submit();
		};
	</script>
  </head>
  
 <body>
<div id="allbody">
	<div class="head">
		<iframe src="<%=basePath%>/head.jsp" width="1160" height="218" scrolling="no" frameborder="0" ></iframe>
	</div>
	<div class="con">
		<div class="left">
			<div class="left_info">
				<div class="left_top"> <img src="<%=basePath%>/images/left_top.jpg"/>
					<div  id="treeboxbox_tree" name="treeboxbox_tree" style="overflow:auto">
						<h4>
							<br/>
							<font color="red">在树形菜单中显示的数字为该隐患类型自查的数量，为“0”的则为未自查项。</font>
							<br/><br/>
							&nbsp;&nbsp;<b><a href="<%=basePath %>/zczb/his_yhList.action?bgdId=${bgdId }&cType1=${cType1 }&cZg=${cZg }" target="itemFrame" title="点击查看全部隐患">全部隐患</a></b>
			    			<script>									
								tree = new dhtmlXTreeObject("treeboxbox_tree", "100%", "100%", 0);
								tree.setSkin('dhx_skyblue');
								tree.setImagePath("<%=basePath%>/dtree/imgs/csh_winstyle/");
								tree.enableDragAndDrop(0);
								tree.enableTreeLines(false);
								tree.setOnClickHandler(tonclick);
								tree.loadXMLString("<%=request.getAttribute("itemXml")%>");
							</script>
						</h4>
					</div>
				</div>
			</div>
		</div>
		<div class="right">
			<div class="right_map">
				<div style="float: left;"><a href="<%=basePath%>/corp/index.action">首页</a> &gt; <span><a href="<%=basePath%>/zczb/_index.action">自查自报</a></span>&gt;<span><a href="<%=basePath%>/zczb/his_list.action">历史上报</a></span>&gt; <span>隐患查看</span></div>
			  	<div class="map_btn"><input type="button" name="btntj" class="input_link" onclick="window.location.href='<%=basePath%>/zczb/his_bgdList.action?hzdId=${hzdId }&cYear=${cYear }'" value="返回记录单列表"/></div>
			</div>
			<div>
			  	<iframe id="itemFrame" name="itemFrame" style="height:480px;inherit;WIDTH:100%;Z-INDEX:2;position:relative;" scrolling="yes" frameborder="0" src="<%=basePath %>/zczb/his_yhList.action?bgdId=${bgdId }&cType1=${cType1 }&cZg=${cZg }"></iframe>
				<br/><br/>自查负责人：${bgd.bgdPersonnel }&nbsp;&nbsp;&nbsp;自查时间：<s:date name="bgd.bgdSaveTime" format="yyyy-MM-dd"/>
		</div>
	</div>
	<div class="foot">
		<iframe src="<%=basePath%>/foot.html" width="1160" height="89" scrolling="no" frameborder="0" ></iframe>
	</div>
</div>
<form action="<%=basePath %>/zczb/his_yhList.action" name="itemForm" method="post" target="itemFrame">
		<input type="hidden" name="cType" id="cType" value="">
		<input type="hidden" name="bgdId" id="bgdId" value="${bgdId }">
</form>
</body>
</html>
